package com.zzq.service.impl;

import com.zzq.domain.dto.SmileShootAddressDTO;
import com.zzq.domain.search.ShootAddressSearchParamet;
import com.zzq.result.SmileResult;
import com.zzq.service.ClientShootAdressService;
import com.zzq.service.SmileShootAddressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ClientShootAddressServiceImpl implements ClientShootAdressService {
    @Autowired
    SmileShootAddressService smileShootAddressService;
    @Override
    public SmileResult getHotAddress(ShootAddressSearchParamet searchParamet) {
        List<SmileShootAddressDTO> shootAddressDTOs = smileShootAddressService.getShootAddressDTO(searchParamet);
        return SmileResult.sucess("获取数据成功",shootAddressDTOs);
    }
}
